package com.qaml.aliyundevopstest.service;

import com.qaml.aliyundevopstest.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author lichengjun
 * @Date 2024/7/19 10:06
 * @Description:
 */
public interface UserService {
    /**
     * 通过用户账号查询用户信息
     * @param username
     * @return
     */
    User getUserByName(@Param("username") String username);

    List<User> getUserList();
}
